package com.dutiantech.file.parse;

import java.util.Map;

public interface LineParser {
	
	class TOTAL_KEY {
		/**
		 * 	总笔数
		 */
		public static String COUNT = "__COUNT" ;
		/**
		 * 	总金额
		 */
		public static String AMT = "__AMT";
//		public static String TOTAL = "__TOTAL" ;
		/**
		 * 	总交易手续费
		 */
		public static String FEE = "__FEE";
	}
	
	String[] extract() ;
	
	/**
	 * 	KEY根据 LineParser.TOTAL_KEY 设置
	 * @return
	 */
	Map<String, Long> totalInfo() ;
	
}
